<?php


namespace support\command\workerman;

use GatewayWorker\Register;

class RegisterWorker implements Worker
{
    public function register()
    {
        $register = config('gateway.register');
        new Register('text://' . $register['ip'] . ':' . $register['port']);
    }
}
